package com.sjgl.esdn.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: cjb
 * @Date: 2022-09-01 10:57
 **/
@Mapper
public interface FileDeptMapper {

    /**
     * 获取部门名集合
     *
     * @param fileId 文件标识
     * @return {@link List}<{@link String}>
     */
    List<String> selectDeptName(@Param("fileId") Long fileId);

    List<String> selectAllDeptName();

    String[] selectLabelByFileId(@Param("fileId") Long fileId);
}
